const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {

      scss: {
        additionalData: `@import "~@/utils/common.scss";`
      },
      less: {
        // 若 less-loader 版本小于 6.0，请移除 lessOptions 这一级，直接配置选项。
        lessOptions: {
          modifyVars: {
            hack: `true; @import "~@/utils/theme.less";`,
          },
        },
      },

    }
  }
})
